import Mock from 'mockjs' // 引入mockjs


let data = {
    "Part_id": "1", "name": "温度采集器", "Dev_id": "123", "status": "0"
}

Mock.mock('/action/parts_db_oper', 'get', data) // 根据数据模板生成模拟数据